{php}$cdn_url = config('admin.cdn_url');{/php}
<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{:config('admin.title')}</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    {volist name="$self->builder->css" id="vo"}
<link rel="stylesheet" href="{$cdn_url}{$vo}">
    {/volist}
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
    {volist name="$self->builder->style" id="vo"}
    {$vo}
    {/volist}
    </style>
</head>

<body class="layui-layout-admin">
{__CONTENT__}
{volist name="$self->builder->js" id="vo"}
<script src="{$cdn_url}{$vo}"></script>
{/volist}
<script type="text/javascript">
    layui.config({
        base: '{$cdn_url}vendor/layui-admin/layui/modules/js/' //静态资源所在路径
    });
    layui.use(['{:implode("','",$self->builder->module)}'], function(){
        {volist name="$self->builder->module" id="vo"}{if $vo != 'jquery'}var {$vo} = layui.{$vo};{else /} var $ = layui.{$vo}; {/if}{/volist}

        {volist name="$self->builder->script" id="vo"}

                {if is_array($vo)}

                {volist name="$vo" id="v"}{$v|raw}{/volist}

                {else /}

                    {$vo|raw}

                {/if}
        {/volist}
    });
</script>
</body>

</html>